<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>w0930_2_dom</title>
		<script>
			// -DOM(Document object Model)---------------------------
			// : 웹 브라우저가 HTMl페이지를 인식하는 방법
			
			
			// 특정요소에 접근
			// var uName = document.getElementsByClassName("txt01")[0];
			// var uName = window.document.forms[0].elements[0];
			// var uName = window.document.frm1.userName;
			// var uName = document.getElementById("userName");
			// var uName = document.getElementsByName("userName")[0];
			// var uName = document.getElementsByTagName("input")[0];
			
			// 추가
			// document.createElement()
			// document.createTextNode()
			// document.createAttribute()
			// document.createComment()
			
			
			
			window.onload = function(){
				
			};	// end of window.onload
			
		</script>
	</head>
	<body>
		<img src="images/rhd1.jpg"/>
	</body>
</html>
